
This example shows how to use an output as an internal signal to condition the state machine evolution.

=======================================================================================================

The internal signals CONDITION_1 and CONDITION_2 are dependent if a rising or falling edge of signal IN_SIGNAL comes first
(could have also used the negated version of CONDITION_1 instead of CONDITION_2 but thats just for example purposes)
the input signal is generated by the CPU, toggling GPIO4_5 pin.

As the duration of each branch is different, the BRANCH1_ACTIVE and BRANCH2_ACTIVE debug outputs alternate with each other in time.

